#include "test.h"

namespace hccl {

    HcclTest* init_opbase_ptr(HcclTest* opbase) {
        return opbase;
    }

    void delete_opbase_ptr(HcclTest* opbase) {
        delete opbase;
    }

    HcclPlfTest::HcclPlfTest(HcclTest* test) : test(test) {}

    HcclPlfTest::~HcclPlfTest() {}

    int HcclPlfTest::hccl_op_base_test() {
        std::cout << "Number of arguments: " << test->argc << std::endl;
        for (int i = 0; i < test->argc; ++i) {
            std::cout << "Argument " << i << ": " << test->argv[i] << std::endl;
        }
        return 0;
    }

}